import request from '@/utils/request'

export function firmList(data) {
  return request({
    url: '/firm/list',
    method: 'post',
    data
  })
}

export function createFirm(data) {
  return request({
    url: '/firm/create',
    method: 'post',
    data
  })
}

export function updateFirm(data) {
  return request({
    url: '/firm/update',
    method: 'post',
    data
  })
}

export function allFirm() {
  return request({
    url: '/firm/all',
    method: 'post'
  })
}
